
/*
 * @(#)EmailArichivePrivateRuleDAObject.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.dao;

import java.sql.Connection;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.dcivision.framework.SessionContainer;
import com.dcivision.rules.RuleOperationConstant;
import com.dcivision.rules.dao.RuleBaseObjectDAObject;

/**
 * <p>Class Name:    EmailArichivePrivateRuleDAObject.java </p>
 * <p>Description:   This class is the data access bean for Email Archive Private KnowledgeBase file. </p>
 *
 * @author         Tony Chen
 * @company        DCIVision Limited
 * @creation date  25/7/2005
 * @version        $Revision: 1.2 $
 */
public class EmailArichivePrivateRuleDAObject extends RuleBaseObjectDAObject {
	
	protected Log log = LogFactory.getLog(this.getClass().getName());

	//define the rule file name
	private String RULE_FILE_NAME = RuleOperationConstant.KB_PREFIX_DMS + "_" +
	                                RuleOperationConstant.RULE_CATEGORY_EMAIL_ARCHIVE + "_" + 
	                                RuleOperationConstant.RULE_TYPE_PRIVATE + "_";

	public EmailArichivePrivateRuleDAObject(SessionContainer sessionContainer, Connection dbConn) {
		super(sessionContainer, dbConn);
		RULE_FILE_NAME += sessionContainer.getUserRecordID() + ".zip";
		super.initRuleFileName(RULE_FILE_NAME);
	}	


}
